package com.runda.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

import com.bbjob.model.ExamInfo;
import com.bbjob.model.ExamineeInfo;
import com.bbjob.util.service.IService;
import com.runda.query.QueryExamInfo;

public interface IExamInfoService extends IService<ExamInfo>{
	
	Map<String, Object> importExaminee(MultipartFile multipartFile, HttpServletRequest request, Integer eId) throws Exception;

	List<ExamInfo> selectByParams(QueryExamInfo exam);

	ExamInfo selectByPrimaryKey(Integer id);

	void deleteAll(Integer id);

	List<ExamineeInfo> synchronizeExamineeByExam(ExamInfo exam);
	
	public void allocatePaper(String uniquecode, String eId) throws Exception;
}
